package com.hospital.drug.drugzhou.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description：药品表
 * @author：zt
 * @date：2021/5/8 11:57
 * @versions：v1.0
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("drug_remedy")
public class Drug {

    @TableId(type = IdType.AUTO)
    private Integer id;       //编号

    @TableField("drugname")
    private String drugName;  //药品名称
    private Integer type;     //药品类型
    private String utils;     //药品单位 例:[瓶、盒]
    private Double price;     //单价
    private Integer count;    //数量
    private String remark;    //药品备注

}
